<?php 
$this->pageTitle = 'Welcome to Thongtinquanly';
$this->beginWidget('system.web.widgets.CClipWidget', array('id'=>'slide'));
$this->widget('application.widgets.Slideshow.JSlideshow');
$this->endWidget();
?>

<div class="tool-box">
	<ul>
	<li class="icon-1"><a title="Production" href="<?php echo Yii::app()->controller->createUrlPage(100);?>">Sản xuất</a><span class="department-name">Sản xuất</span></li>
	<li class="icon-2"><a title="Finance Management" href="<?php echo Yii::app()->controller->createUrlPage(101);?>">Distribution</a><span class="department-name">Tài chính<br></span></li>
	<li class="icon-3"><a title="Trade Management" href="<?php echo Yii::app()->controller->createUrlPage(102);?>">Purchasing</a><span class="department-name">Thương mại</span></li>
	<li class="icon-4"><a title="Asset Management" href="<?php echo Yii::app()->controller->createUrlPage(103);?>">Sale</a><span style="top: 91px; height: 14px;" class="department-name">Tài&nbsp; sản</span></li>
	<li class="icon-5"><a title="Business Process Management" href="<?php echo Yii::app()->controller->createUrlPage(104);?>">Finance</a><span class="department-name">Qui trình<br></span></li>
	<li class="icon-6"><a title="Business Intelligence" href="<?php echo Yii::app()->controller->createUrlPage(105);?>">bpm</a><span class="department-name">Báo cáo</span></li>
	<li class="icon-7"><a title="Customer Relationship Management" href="<?php echo Yii::app()->controller->createUrlPage(106);?>">CRM</a><span class="department-name">Khách hàng</span></li>
	<li class="icon-8"><a title="System Integration" href="<?php echo Yii::app()->controller->createUrlPage(107);?>">Report</a><span class="department-name">Tích hợp<br></span></li>
	</ul>
</div>
<div class="wrr-content hr"></div>
<!-- My Solution -->
<div id="my-sls">
<?php if($homeSolution):?>
<?php foreach ($homeSolution as $item):
$link = Yii::app()->controller->createUrlPage($item->id);
$imageSrc = Yii::app()->params['page_thumb_url'].$item->thumb;
?>
<div class="sls-box">
    <div class="sls-wr">
		<h3><span><?php echo $item->title;?></span></h3>
		<div class="sls-desc">
				<div class="inner-div"><a title="<?php echo $item->title;?>" href="<?php echo $link;?>"><img alt="<?php echo $item->title;?>" src="<?php echo $imageSrc;?>" height="100" width="200"></a><br />
				<div>
					<?php echo $item->introtext;?>
				</div>
				<div class="readmore"><a href="<?php echo $link;?>">Read more</a></div>
				</div>
		</div>
    </div>
</div>
<?php endforeach;?>
<?php endif;?>
</div>